#ifndef __CA51F1_XDATA_H__
#define __CA51F1_XDATA_H__

#define XRAM                 ((volatile unsigned char xdata *) 0)	

#define	P01F        XRAM[0x8001]

#define	P30F        XRAM[0x8018]
#define	P31F        XRAM[0x8019]
#define	P32F        XRAM[0x801a]
#define	P34F        XRAM[0x801c]
#define	P35F        XRAM[0x801d]

#define ADCON       XRAM[0x8060]
#define ADCFGL      XRAM[0x8061]
#define ADCDL       XRAM[0x8062]
#define ADCDH       XRAM[0x8063]
#define ADCALL      XRAM[0x8064]
#define ADCALH      XRAM[0x8065]

#define SRELL      	XRAM[0x8068]
#define SRELH      	XRAM[0x8069]

#define P01C        XRAM[0x8121]

#define P30C        XRAM[0x8138]
#define P31C        XRAM[0x8139]
#define P32C        XRAM[0x813a]
#define P34C        XRAM[0x813c]
#define P35C        XRAM[0x813d]

#define MECON       XRAM[0xfc00]
#define FSCMD       XRAM[0xfc01]
#define FSDAT       XRAM[0xfc02]
#define LOCK        XRAM[0xfc03]
#define PADRD       XRAM[0xfc04]
#define PTSL        XRAM[0xfc05]
#define PTSH        XRAM[0xfc06]

#endif  
